﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ThicknessLibrary
{
    /// <summary>
    /// 检测对象
    /// </summary>
    public class DetectedObject:IDisposable
    {
        /// <summary>
        /// 索引
        /// </summary>
        public int? Index { set; get; }
        /// <summary>
        /// 左边界
        /// </summary>
        public double? LeftEdge { set; get; }
        /// <summary>
        /// 有边界
        /// </summary>
        public double? RightEdge { set; get; }
        /// <summary>
        /// 宽度
        /// </summary>
        public double? Width { set; get; }
        /// <summary>
        /// 高度
        /// </summary>
        public double? Height { set; get; }
        /// <summary>
        /// 检测时间
        /// </summary>
        public string DetectedTime { set; get; }

        public void Dispose()
        {
            Index = null;
            LeftEdge = null;
            RightEdge = null;
            Width = null;
            Height = null;
        }
    }
}
